<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/9/12
  Time: 18:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统首页</title>
</head>
<body>
    <% Object username = session.getAttribute("username");
        if (username == null || username == "") {
    %>
    <a href="/day4/login.jsp">请登录</a>
    <%} else{%>
    <a href="/day4/addStudent.jsp">添加学生</a>
    <a href="/day4/listStudentServlet">查看学生</a>
    <%}%>
</body>
</html>
